/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcapi.entity;

import javax.validation.constraints.NotNull;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.easy.core.persistence.DataEntity;
import com.easy.common.utils.excel.annotation.ExcelField;

/**
 * 品牌争议表Entity
 * @author waylen chi
 * @version 2018-01-17
 */
public class ApiBrandBasis extends DataEntity<ApiBrandBasis> {
	
	private static final long serialVersionUID = 1L;
	private Integer brandId;		// 品牌ID
	private Integer storeId;		// 使用该品牌店铺ID
	private String bself;		// 默认1，是否自主
	private String evidenceType;		// 证据类型
	private String evidenceSrc;		// 证据材料
	private Date evidenceDate;		// 证据日期
	private Date auditDate;		// 核实日期
	private Integer auditPsn;		// 核实人员
	private String auditResult;		// 核实结果
	
	public ApiBrandBasis() {
		super();
	}

	@NotNull(message="品牌ID不能为空")
	@ExcelField(title="品牌ID", align=2, sort=0)
	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}
	
	@NotNull(message="使用该品牌店铺ID不能为空")
	@ExcelField(title="使用该品牌店铺ID", align=2, sort=1)
	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	
	@ExcelField(title="默认1，是否自主", align=2, sort=2)
	public String getBself() {
		return bself;
	}

	public void setBself(String bself) {
		this.bself = bself;
	}
	
	@ExcelField(title="证据类型", align=2, sort=3)
	public String getEvidenceType() {
		return evidenceType;
	}

	public void setEvidenceType(String evidenceType) {
		this.evidenceType = evidenceType;
	}
	
	@ExcelField(title="证据材料", align=2, sort=4)
	public String getEvidenceSrc() {
		return evidenceSrc;
	}

	public void setEvidenceSrc(String evidenceSrc) {
		this.evidenceSrc = evidenceSrc;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="证据日期", align=2, sort=5)
	public Date getEvidenceDate() {
		return evidenceDate;
	}

	public void setEvidenceDate(Date evidenceDate) {
		this.evidenceDate = evidenceDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="核实日期", align=2, sort=6)
	public Date getAuditDate() {
		return auditDate;
	}

	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}
	
	@ExcelField(title="核实人员", align=2, sort=7)
	public Integer getAuditPsn() {
		return auditPsn;
	}

	public void setAuditPsn(Integer auditPsn) {
		this.auditPsn = auditPsn;
	}
	
	@ExcelField(title="核实结果", align=2, sort=8)
	public String getAuditResult() {
		return auditResult;
	}

	public void setAuditResult(String auditResult) {
		this.auditResult = auditResult;
	}
	
}